<!doctype html>
<html >
<head>
<include file="Public:headinc" />
<link rel="stylesheet" href="<?php echo MY_CDN; ?>/admin/css/postinfo.css" />
</head>
<body>
<div style="margin-top:22px;">
	<form id="f1" method="post" action="{:U('AdminUser/doEditAdmin')}">
		<table width="100%">
		<tr>
			<td class="y-alignRight" width="100">用户名<span class="y-highlight">*</span>：</td>
			<td class="y-alignLeft">
				<input type="text" id="username" name="username" value="{$data['username']}"/>
			</td>
		</tr>
		<tr>
			<td class="y-alignRight">密码<span class="y-highlight">*</span>：</td>
			<td class="y-alignLeft">
				<input type="password" id="password" name="password"/>&nbsp;密码留空表示不修改密码
			</td>
		</tr>
		<tr>
			<td class="y-alignRight">确认密码<span class="y-highlight">*</span>：</td>
			<td class="y-alignLeft">
				<input type="password" id="confirming" name="confirming"/>
			</td>
		</tr>
		<tr>
			<td class="y-alignRight">邮箱</td>
			<td class="y-alignLeft">
				<input type="text" id="email" name="email" value="{$data['email']}"/>
			</td>
		</tr>
		<tr>
			<td class="y-alignRight">简介</td>
			<td class="y-alignLeft">
				<textarea rows="1" class="input-xxlarge" id="desc" name="desc">{$data['desc']}</textarea>
			</td>
		</tr>
		<tr>
			<td class="y-alignRight"><input type="hidden" id="pkid" name="pkid" value="{$data['id']}"></td>
			<td class="y-alignLeft">
				<input type="button" class="btn btn-inverse" value="提交" onclick="doAddAdmin()"/>
			</td>
		</tr>
		</table>
	</form>
</div>
<script charset="utf-8" src="<?php echo MY_CDN; ?>/admin/js/editAdmin.js"></script>
</body>
</html>
